﻿
using B.S.BasicData.Domain.Entities.Leave;
using B.S.BasicData.Domain.Entities.UserRoleMenu;
using Microsoft.EntityFrameworkCore;

namespace B.S.BasicData.Infrastructure
{
    public class MyDbContext : DbContext
    {
        public MyDbContext(DbContextOptions options) : base(options)
        {
        }

        public DbSet<UserModel> UserModels {  get; set; }
        public DbSet<RoleModel> RoleModels {  get; set; }
        public DbSet<UserRoleModel> UserRoleModels { get; set; }

        public DbSet<MenuModel> MenuModels { get; set; }

        public DbSet<RoleMenuModel> RoleMenuModels { get; set; }

        public DbSet<LeaveTypeModel> LeaveTypeModels { get; set; }
        public DbSet<LeaveApplicationModel> LeaveApplicationModels { get; set; }

    }
}
